Skip to content

Conversation

@crazyserver
Copy link
Member

No description provided.

@crazyserver crazyserver marked this pull request as draft December 19, 2025 10:25
@crazyserver crazyserver requested a review from Copilot January 14, 2026 15:44
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR implements conditional display logic for the course list block, showing course categories instead of "My Courses" for administrators and users without enrolled courses.

Changes:

  • Added conditional logic to determine whether to display categories or user courses
  • Implemented admin check and empty course list detection
  • Modified return data to show categories link when appropriate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant